//
//	HOME AUTOMATION GATEWAY PROJECT
//
//  (c) 2008 mocom software GmbH & Co KG 
//	for European Microsoft Innovation Center
//
//  $Author: volker $
//  $Date: 2009-02-26 16:55:56 +0100 (Do, 26. Feb 2009) $
//  $Revision: 276 $
//
//  Microsoft dotNetMF Project
//  Copyright ©2001,2002,2003,2004 Microsoft Corporation
//  One Microsoft Way, Redmond, Washington 98052-6399 U.S.A.
//  All rights reserved.
//  MICROSOFT CONFIDENTIAL
//
//-----------------------------------------------------------------------------

#include "DD160128FC2A.h"

//--//

BOOL LCD_Initialize()
{
    return DD160128FC2A_Driver::Initialize();
}

BOOL LCD_Uninitialize()
{
    return DD160128FC2A_Driver::Uninitialize();
}

void LCD_PowerSave( BOOL On )
{
    DD160128FC2A_Driver::PowerSave( On );
}

void LCD_Clear()
{
    DD160128FC2A_Driver::Clear();
}

void LCD_BitBlt( int width, int height, int widthInWords, UINT32 data[], BOOL fUseDelta )
{
    DD160128FC2A_Driver::BitBlt( width, height, widthInWords, data, fUseDelta );
}

void LCD_BitBltEx( int x, int y, int width, int height, UINT32 data[] )
{
    DD160128FC2A_Driver::BitBltEx( x, y, width, height, data );
}

void LCD_WriteChar( unsigned char c, int row, int col )
{
    DD160128FC2A_Driver::WriteChar( c, row, col );
}

void LCD_WriteFormattedChar( unsigned char c )
{
    DD160128FC2A_Driver::WriteFormattedChar( c );
}

INT32 LCD_GetWidth()
{
    return DD160128FC2A_Driver::GetWidth();
}

INT32 LCD_GetHeight()
{
    return DD160128FC2A_Driver::GetHeight();
}

INT32 LCD_GetBitsPerPixel()
{
    return DD160128FC2A_Driver::GetBitsPerPixel();
}

/* UINT32 LCD_GetPixelClockDivider()
{
    return DD160128FC2A_Driver::GetPixelClockDivider();
}
 */
BOOL LCD_RefreshController ()
{
	return FALSE;
}

void LCD_SetContrast (UINT8 Contrast) 
{
}

/* void LCD_SetOscillatorFrequency (UINT8 OscillatorFrequency)
{
} */

UINT32* LCD_GetFrameBuffer ()
{
	return DD160128FC2A_Driver::GetFrameBuffer();
}

INT32 LCD_GetOrientation()
{
    return 0;
}

UINT32 LCD_ConvertColor(UINT32 color)
{
    NATIVE_PROFILE_HAL_DRIVERS_DISPLAY();

	return color;
}



